package org.jeecg.modules.simulator.factory;

import org.jeecg.modules.simulator.factory.train.load.LineTrainLoader;

import org.jeecg.modules.simulator.model.MetroTrain;
import org.jeecg.modules.simulator.model.train.TrainPhysics;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @program: gp
 * @description:
 * @author: lydms
 * @create: 2024-08-13 11:18
 **/
public class TrainFactory {

    /**
     * @description: 轨道数据加载
     *
     * @author:  renzhg
     * @date:  2024/8/13 10:46
     **/
//    OrbitPathFileDataLoader orbitPathFileDataLoader=new OrbitPathFileDataLoader();
//    TrainPlanTableLoader trainPlanTableLoader=new TrainPlanTableLoader();
    /**
     * @description: 列车物理属性数据加载
     *
     * @author:  renzhg
     * @date:  2024/8/13 10:46
     **/
//    TrainFileDataLoader trainFileDataLoader=new TrainFileDataLoader();
//    @Getter
//    @Setter
//    Map<String, List<MetroTrain>> noAssignMetroTrainMap = new HashMap<>();
    @Getter
    @Setter
    Map<String, TrainPhysics> trainPhysicsMap=new HashMap<>();
    /**
     * @description: 列车数据，信息数据，编号
     *
     * @author:  renzhg
     * @date:  2024/8/13 10:53
     **/
    LineTrainLoader lineTrainLoader=new LineTrainLoader();


    public void load(){



//        noAssignMetroTrainMap=trainFileDataLoader.getNoAssignMetroTrainMap();
//        trainPhysicsMap=trainFileDataLoader.getTrainPhysicsMap();

    }


}
